<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'>
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang='en' lang='en'>
<head>
	<meta http-equiv='Content-Type' content='text/html; charset=utf-8' />
	<meta name='language' content='ru' />

	<link rel='stylesheet' type='text/css' href='/themes/2011/css/grid.css' />
	<link rel='stylesheet' type='text/css' href='/themes/2011/css/main.css' />

	<title><?php echo CHtml::encode($this->pageTitle); ?></title>
	<link rel='icon' href='/favicon.ico' type='image/x-icon'>
	<link rel='shortcut icon' href='/favicon.ico' type='image/x-icon'>
	<?php 
		Yii::app()
		->getClientScript()
		->registerCoreScript('jquery')
		->registerScriptFile(Yii::app()->theme->baseUrl.'/js/main.js')
		->registerScriptFile(Yii::app()->theme->baseUrl.'/js/fancybox/jquery.fancybox-1.3.4.pack.js')
		->registerCssFile(Yii::app()->theme->baseUrl.'/js/fancybox/jquery.fancybox-1.3.4.css')
	?> 
</head>
<body>
<div class='container container_12'>
	<?php echo $content; ?>
	<div class='clear'></div>
	<div class='footer'>
		<ul class='menu-bottom-addit'>
			<li class='last'><a href='#'>Реклама на сайте</a></li>
			<li><img src='/themes/2011/images/map.gif' alt=''/> <a href='#'>Карта сайта</a></li>
		</ul>
		
		<?php 
		$this->widget('zii.widgets.CMenu', array(
			'htmlOptions'=>array('class'=>'mainmenu-bottom'),
			'items'=>$this->menu,
		));
		?>
		<table class='foot'>
			<tr><td align="left">2011<?php echo date('Y')>2011?'&mdash;'.date('Y'):''; ?> &copy; <?php echo Yii::app()->name; ?></td>
			<td align="center">дизайн &mdash; <a href='http://www.free-lance.ru/users/belokamensky'>Алексей Белокаменский</a></td>
			<td align="right">
			<!--LiveInternet counter--><script type="text/javascript">document.write("<a href='http://www.liveinternet.ru/click' target=_blank><img src='//counter.yadro.ru/hit?t24.6;r" + escape(document.referrer) + ((typeof(screen)=="undefined")?"":";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?screen.colorDepth:screen.pixelDepth)) + ";u" + escape(document.URL) +";h"+escape(document.title.substring(0,80)) +  ";" + Math.random() + "' border=0 width=88 height=15 alt='' title='LiveInternet: показано число посетителей за сегодня'><\/a>")</script><!--/LiveInternet-->
			<!-- Yandex.Metrika counter -->
<div style="display:none;"><script type="text/javascript">
(function(w, c) {
    (w[c] = w[c] || []).push(function() {
        try {
            w.yaCounter11317390 = new Ya.Metrika({id:11317390, enableAll: true});
        }
        catch(e) { }
    });
})(window, "yandex_metrika_callbacks");
</script></div>
<script src="//mc.yandex.ru/metrika/watch.js" type="text/javascript" defer="defer"></script>
<noscript><div><img src="//mc.yandex.ru/watch/11317390" style="position:absolute; left:-9999px;" alt="" /></div></noscript>
<!-- /Yandex.Metrika counter --></td></tr>
		</table>
	</div>
</div><!-- page -->

</body>
</html>